
#############################################################
##################LUSE'S KALLIMACHOS PROJECT#################
#############################################################


INSTALL THE LIBRARY IN THREE STEPS:


[1] Extract the archive in your web directory (for example ".../htdocs" or ".../proxy" )



[2] Edit the following values in "connect.php" file:
    
    
    USERNAME --------> your MySQL username

    USERPASSWORD ----> your MySQL password

    NAME ------------> the name you want in the MAIN page
    
    Then save the file.



[3] Execute the sql script kallimachos.sql in a graphic front-end.

You can also do it from the MySQL console, 
launching the following queries (copy-and-past): 


mysql->

----------------------------------------------
create database libri;
connect libri;
----------------------------------------------

then 

----------------------------------------------

CREATE TABLE `kallimachos` (
  `Titolo` varchar(255) NOT NULL default '',
  `Autore` varchar(255) NOT NULL default '',
  `Traduttore` varchar(255) default '...',
  `Edizione` varchar(255) NOT NULL default '',
  `Anno` int(5) unsigned default '0',
  `Genere` varchar(255) NOT NULL default '',
  `Pagine` varchar(20) NOT NULL default '0',
  `ISBN` int(10) NOT NULL default '0',
  `Data` int(25) NOT NULL default '0',
  PRIMARY KEY  (`Titolo`)
) TYPE=MyISAM;

CREATE TABLE `auth` (
  `ID` int(1) NOT NULL default '0',
  `pass` varchar(20) NOT NULL default ''
) TYPE=MyISAM;

INSERT INTO `auth` VALUES (1, 'mypassword');

-----------------------------------------------------------------------------
Where mypassword is the access password to enter the library (choose one).
-----------------------------------------------------------------------------

Now you can enter the library by your Internet Browser.
ENJOY IT!!!


*********************************************************
***************      !!  WARNING !!        **************
*********************************************************
*                                                       *
*     The validation system is not so secure yet,       *
*   so try to fix alternative autentication mechanisms  *
*                                                       *
*********************************************************


-> MySQL database and PHP must be installed previously 

-> If you need help or you notice a bug, send an e-mail to <<< luse87@fastwebnet.it >>> 
   We'll contact you as soon as possible.


##Genoa , January 2006##


